<div class="outer-fill shadow padding15">
  <div class="judul-page">Data Setting</div>
  <br>
  <!-- style table -->
  <table class="table table-striped">
    <thead>
      <tr>
        <th>No</th>
        <th>Judul</th>
        <th>Aksi</th>
      </tr>
    </thead>
    <tbody>
	  <?php 
	  $no=1;
	  foreach($hasil as $val){
	  ?>
    <tr>
      <td><?php echo $no?></td>
      <td><?php echo $val['judul']?></td>
      <td>
        <a href="<?php echo site_url('admin_setting/view_edit'."/".$val['id_setting']);?>" class="btn btn-primary btn-xs"><span class="glyphicon glyphicon-edit"></span>&nbsp;Edit</a>       
      </td>
    </tr>
  
    <?php
		$no++;
		}
		?>
    </tbody>
  </table>
  <!-- end table -->
<?php
echo ! empty($pagination) ? '<center><div class="pagination">' . $pagination . '</div></center>' : '';
?>
</div>